package com.ruoyi.project.configureSystem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 视频配置对象 hkws_video
 * 
 * @author wangshuo
 * @date 2021-03-31
 */
public class HkwsVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 所属厂站 */
    @Excel(name = "所属厂站")
    private String belongStation;

    /** 厂站code */
    @Excel(name = "厂站code")
    private String stationcode;

    /** 视频名称 */
    @Excel(name = "视频名称")
    private String videoName;

    /** ip */
    @Excel(name = "ip")
    private String ip;

    /** 端口 */
    @Excel(name = "端口")
    private String port;

    /** 通道号 */
    @Excel(name = "通道号")
    private String number;

    /** 接入类型 */
    @Excel(name = "接入类型")
    private String videoType;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 视频url */
    @Excel(name = "视频url")
    private String videoUrl;

    /** 购买日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseTime;

    /** 安装日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installTime;

    /** 备用1 */
    @Excel(name = "备用1")
    private String beiyong1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String beiyong2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBelongStation(String belongStation) 
    {
        this.belongStation = belongStation;
    }

    public String getBelongStation() 
    {
        return belongStation;
    }
    public void setStationcode(String stationcode) 
    {
        this.stationcode = stationcode;
    }

    public String getStationcode() 
    {
        return stationcode;
    }
    public void setVideoName(String videoName) 
    {
        this.videoName = videoName;
    }

    public String getVideoName() 
    {
        return videoName;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setVideoType(String videoType) 
    {
        this.videoType = videoType;
    }

    public String getVideoType() 
    {
        return videoType;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setPurchaseTime(Date purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public Date getPurchaseTime() 
    {
        return purchaseTime;
    }
    public void setInstallTime(Date installTime) 
    {
        this.installTime = installTime;
    }

    public Date getInstallTime() 
    {
        return installTime;
    }
    public void setBeiyong1(String beiyong1) 
    {
        this.beiyong1 = beiyong1;
    }

    public String getBeiyong1() 
    {
        return beiyong1;
    }
    public void setBeiyong2(String beiyong2) 
    {
        this.beiyong2 = beiyong2;
    }

    public String getBeiyong2() 
    {
        return beiyong2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("belongStation", getBelongStation())
            .append("stationcode", getStationcode())
            .append("videoName", getVideoName())
            .append("ip", getIp())
            .append("port", getPort())
            .append("number", getNumber())
            .append("videoType", getVideoType())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("videoUrl", getVideoUrl())
            .append("purchaseTime", getPurchaseTime())
            .append("installTime", getInstallTime())
            .append("beiyong1", getBeiyong1())
            .append("beiyong2", getBeiyong2())
            .toString();
    }
}
